package com.example.basecommon.utils;

/**
 * 公共常量类
 */
public class ConstantUtil {

    //配置参数,true开启调试模式
    public static final boolean DEBUG = false;
    //设置默认超时时间
    public static final int DEFAULT_TIME = 10;
    public static String SERVER_URL = "";//https域名

    public static final String UAT_URL = "https://uat.staryicloud.com/uat";//uat测试环境
    public static final String DEV_URL = "https://uat.staryicloud.com/dev";//dev测试环境
    public static final String SHENGYUE_URL = "https://www.staryicloud.com/shengyue";//盛悦环境
    public static final String PATCH2_URL = "https://uat.staryicloud.com/patch2";//patch2环境

    public static String getServerUrl() {
        return PreferencesUtils.getServerUrl(App.INSTANCE);
    }

    /**
     * 用户相关
     */
    public static final String API_LOGIN = "api/login.do";
    public static final String API_LOGOUT = "api/logout.do";
    //获取pda配置信息
    public static final String CONFIG_QUERY = "kapi/app/oewms/pda_basic_config_query";

    /**
     * 补货相关
     */
    public static final String REPLEORDER_GETLIST = "kapi/app/oewms/query_app_pda_replenishbill_list";
    public static final String REPLENISH_GETORDERDETAIL = "kapi/app/oewms/query_app_pda_replenishbill_detail";
    public static final String REPLENISH_COMMIT = "kapi/app/oewms/save_app_pda_replenishbill_move";

    /**
     * 仓库相关
     */
    public static final String GET_WAREHOUSE_LIST = "kapi/app/oewms/query_app_pda_warehouse?requestFrom=1";
    public static final String GET_DEFAULT_LOCATIONCODE = "kapi/app/oewms/pda_warehouse_area_location";

    /**
     * 调拨相关
     *
     */
    public static final String GET_ORG_LIST = "kapi/app/oewms/query_org_list";
    public static final String PDA_QTF_COMMIT = "kapi/app/oewms/PDA_qtf_confirm";

    public static final String GET_FASTALLOT_ORDERLIST = "kapi/app/oewms/PDA_Receive_Transfe_Task";
    public static final String FASTALLOT_DETAIL_ADD = "kapi/app/oewms/PDA_actual_detail_add";


    /**
     * 出库相关
     */
    public static final String SCANORDERNO = "kapi/app/oewms/pda_scan_stockout";
    public static final String CONFIRMSTOCKOUT = "kapi/app/oewms/PDAconfirmStockOut";
    public static final String CONFRMSTOCKOUTREVIEW = "kapi/app/oewms/PDAconfirmStockOutReview";
    public static final String PDASNSCAN = "kapi/app/oewms/PDA_SN_SCAN";
    public static final String PDACOLLECTNULLSN = "kapi/app/oewms/PDACollectNullSn";
    public static final String PDASNSCAN_HTT = "kapi/app/oeoms/htt_sn_scan";


    /**
     * 扫描收货相关
     */
    public static final String SCANRECEIPT_QUERY = "kapi/app/oewms/PDA_scan_receipt_query";
    public static final String CONFIRMRECEIPT = "kapi/app/oewms/PDA_confirm_receipt";

    /**
     * 一键退货相关
     */
    public static final String ONECLICK_RETURN = "kapi/app/oewms/sn_scan_put";

    /**
     * 库位库存查询相关
     */
    //库位校验
    public static final String PDA_query_location = "kapi/app/oewms/query_app_pda_location";
    //商品校验
    public static final String PDA_query_sku = "kapi/app/oewms/query_app_pda_item";
    //查询商品对应移入库位
    public static final String PDA_sku_bindlocation = "kapi/app/oewms/query_app_pda_item_location";
    //根据skuid,locationid查询库存
    public static final String PDA_query_sku_stock_inlocation = "kapi/app/oewms/query_location_stock_pda";
    //根据库位编码查询库存
    public static final String PDA_STOCK_QUERY = "kapi/app/oewms/PDA_location_stock_query";
    /**
     * sn查询编辑
     */
    public static final String PDA_SN_QUERY = "kapi/app/oewms/PDA_SN_query";
    public static final String PDA_SN_SAVE = "kapi/app/oewms/PDA_SN_save";

    /**
     * 上架相关
     */
    public static final String PDA_PUTAWAY = "kapi/app/oewms/PDA_putaway";

    /**
     * 拦截单登记相关
     */
    public static final String INTERCEPTION_RESISTR = "kapi/app/oewms/PDA_STOCK_OUT_INTERCEPT";

    /**
     * PDA拣选相关
     */
    public static final String PICK_QUERY = "kapi/app/oewms/pda_pick_query";
    public static final String PICK_UPDATE = "kapi/app/oewms/pda_pick_update";


    /**
     * 库存盘点
     *
     */
    // 盘点列表
    public static final String CHECK_ORDER_LIST = "kapi/app/oewms/pda_inventory_list_query";
    // 盘点单详情
    public static final String CHECK_ORDER_DETAIL = "kapi/app/oewms/pda_invevtory_detail_query";
    // 提交
    public static final String SUBMIT_CHECK_ORDER = "kapi/app/oewms/pda_inventory_submit";
    // 权限 /app/oewms/PDAUserPermissionApi
    public static final String CHECK_PRIORITY = "kapi/app/oewms/PDAUserPermissionApi?requestFrom=1";
    // 库存状态 /app/oewms/all_invstatus
    public static final String GET_ALL_INVSTATUS = "kapi/app/oewms/all_invstatus";

    // 货主
    public static final String GET_PRODUCT_OWNER = "kapi/app/oewms/sku_location_type_to_owner";


}
